#ifndef PREDIALOG_H
#define PREDIALOG_H

#include <QWidget>
#include <QTextCodec>

namespace Ui
{
    class PreDialog;
}

class PreDialog : public QWidget
{
    Q_OBJECT

public:
    PreDialog(QWidget *parent = 0);
    ~PreDialog();

    void View(QByteArray htmlText);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::PreDialog *di;

signals:
    void post();
    void clear();

public slots:
    void CloseEventHandler();
    void PostEventHandler2();
    void ClearEventHandler2();
};

#endif // PREDIALOG_H
